#pragma once

#include "ADKernelGrad.h"

/**
 * SUPG stabilization for the advection portion of the pyrolysis enerny equation.
 */
class EnergyConvectionADKernelSUPG : public ADKernelGrad
{
public:
	static InputParameters validParams();

	EnergyConvectionADKernelSUPG(const InputParameters& parameters);

protected:
	virtual ADRealVectorValue precomputeQpResidual() override;

	/// Velocity vector variable
	const ADVectorVariableValue& _velocity;
	const ADMaterialProperty<RealVectorValue>& _energy_convection_strong_residual_factor;
};


